package com.superb.common.security;

import cn.dev33.satoken.stp.StpInterface;
import com.superb.common.security.config.SaTokenConfigure;
import com.superb.common.security.config.StpInterfaceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: ajie
 * @CreateTime: 2024-05-15 13:18
 */
@Configuration
public class SuperbSecurityConfig {

    @Bean
    public SaTokenConfigure saTokenConfigure() {
        return new SaTokenConfigure();
    }

    @Bean
    public StpInterface saStpInterfaceImpl() {
        return new StpInterfaceImpl();
    }
}
